.doctor-detail-page {
  min-height: 100vh;
  background-color: #f7f8fa;
  display: flex;
  flex-direction: column;

  .rv-nav-bar {
    background-color: #fff;
    border-bottom: 1px solid #eee;
  }

  .loading-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 0;

    .loading-text {
      margin-top: 12px;
      color: #969799;
      font-size: 14px;
    }
  }

  .error-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px;

    .retry-button {
      margin-top: 24px;
      width: 120px;
    }
  }

  .doctor-info {
    flex: 1;
    padding: 16px;

    .basic-info {
      display: flex;
      gap: 16px;
      padding: 16px;
      background-color: #fff;
      border-radius: 8px;
      margin-bottom: 12px;

      .avatar {
        width: 80px;
        height: 100px;
        border-radius: 4px;
        flex-shrink: 0;
      }

      .info-content {
        flex: 1;

        .name-title {
          display: flex;
          align-items: center;
          gap: 8px;
          margin-bottom: 8px;

          .name {
            font-size: 18px;
            font-weight: 500;
            color: #323233;
          }

          .title {
            font-size: 12px;
            padding: 0 6px;
            line-height: 18px;
          }
        }

        .hospital {
          font-size: 14px;
          color: #666;
          margin-bottom: 4px;
        }

        .department {
          font-size: 14px;
          color: #666;
        }
      }
    }

    .stats-info {
      display: flex;
      justify-content: space-around;
      padding: 16px;
      background-color: #fff;
      border-radius: 8px;
      margin-bottom: 12px;

      .stat-item {
        text-align: center;

        .value {
          font-size: 18px;
          font-weight: 500;
          color: #323233;
          margin-bottom: 4px;
        }

        .label {
          font-size: 12px;
          color: #969799;
        }
      }
    }

    .detail-section {
      padding: 16px;
      background-color: #fff;
      border-radius: 8px;
      margin-bottom: 12px;

      .section-title {
        font-size: 16px;
        font-weight: 500;
        color: #323233;
        margin: 0 0 12px;
      }

      .section-content {
        font-size: 14px;
        color: #666;
        line-height: 1.6;
        margin: 0;
        white-space: pre-wrap;
      }
    }
  }

  .action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background-color: #fff;
    border-top: 1px solid #eee;

    .price {
      .amount {
        font-size: 20px;
        font-weight: 500;
        color: #ee0a24;
      }

      .unit {
        font-size: 12px;
        color: #969799;
      }
    }

    .inquiry-button {
      flex: 0 0 120px;
    }
  }

  // 为底部操作栏留出空间
  padding-bottom: calc(constant(safe-area-inset-bottom) + 56px);
  padding-bottom: calc(env(safe-area-inset-bottom) + 56px);
} 